#!/bin/bash
echo "=====停用Msgg-Trigger====="
echo "=========================="
supervisorctl stop msgg-trigger
mv /etc/supervisor/conf.d/msgg-trigger.conf /etc/supervisor/conf.d/msgg-trigger.conf.bak
supervisorctl update
supervisorctl status

echo ""
echo "=====停用msgg域名====="
echo "======================"
mv /usr/local/apache2/conf/extra/httpd-vhosts-msgg.conf /usr/local/apache2/conf/extra/httpd-vhosts-msgg.conf.bak
serverctl.sh apache2 restart
